
Originally Posted by
victorcor
Nice! Worked fine now! Thank you.
I have only a question: Where can I disable the automatic account creation? When I try to login with a not registered account, the server does not pop any error, it creates the account instead. How can I disable that?
To disable the automatic account creation, you must change your ap_GPwdWithFlag at AionAccounts database to the following:
Code:
ALTER PROCEDURE [dbo].[ap_GPwdWithFlag] @account varchar(14)
, @PWD binary(16) output
, @flag tinyint output
--, @otpflag tinyint = 0 output
AS
SELECT @PWD=password
, @flag=new_pwd_flag
-- , @otpflag = otp_flag
FROM user_auth with (nolock)
WHERE account @account