SA-MP Forums Archive
Factors of Change Password - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Factors of Change Password (/showthread.php?tid=449537)



Factors of Change Password - Kyle - 09.07.2013

I'm trying to make a fail safe change password cmd. What factors do need checking?

I'm thinking of having a variable and if the factor is valid +1, run through all the validations, if the total is above 4/6 valid factors = change pass, anything lower, not allowed to change password.

What factors could they be? I'm thinking: Country of registry, IP Range, Registered IP. What else?

Thanks


Re: Factors of Change Password - Kyle - 09.07.2013

Quote:
Originally Posted by ******
Посмотреть сообщение
Most places have a security question then email you a link for the change with a unique token.
I would prefer to stay away from security tokens/emailing resets.


Re: Factors of Change Password - MP2 - 09.07.2013

Why?


Re: Factors of Change Password - Kyle - 09.07.2013

Quote:
Originally Posted by MP2
Посмотреть сообщение
Why?
I don't want players having to fiddle around with setting their email, going to their email, clicking the link and setting a new one.

I just want a command ingame to do it, but backend validation checks need to be done first.


Re: Factors of Change Password - MP2 - 09.07.2013

Why would that be a hassle? Unless you lose your password 8 times a day.


Re: Factors of Change Password - Kyle - 09.07.2013

Quote:
Originally Posted by MP2
Посмотреть сообщение
Why would that be a hassle? Unless you lose your password 8 times a day.
Please, I asked for assistance on what factors I could use, not to question why I have chose this way.

I personally prefer just a simple command ingame, no messing around with email stuff. Anyway, back onto the factors, please.