•         

            

            

  • HyperFilter | DoS Protection | DDoS Protection | DoS Mitigation | DDoS Mitigation | AntiDoS | AntiDDoS | Proxy Shielding

İnvalid Password Hatası [Çözüm]

  • Konbuyu başlatan Konbuyu başlatan bigahega
  • Başlangıç tarihi Başlangıç tarihi
Cevap: İnvalid Password Hatası [Çözüm]



CREATE PROCEDURE ACCOUNT_LOGIs



@AccountID varchar(21),

@Password varchar(13),

@nRet smallint OUTPUT



AS



select @nRet = count(straccountid) from tb_user where straccountid = @AccountID



if @nRet = 0

begin

insert into tb_user (straccountid, strpasswd, strSocNo, idays) values (@AccountID, @password, 1, '6')

end



--CurrentUserdan Silelim

delete from currentuser where straccountid = @AccountID



declare @ban int , @ban1 int, @ban2 int

select @nRet = count(straccountid) from currentuser

select @ban = authority from userdata where struserid = (select strcharid1 from account_char where straccountid = @AccountID and strcharid1 is not null )

select @ban1 = authority from userdata where struserid = (select strcharid2 from account_char where straccountid = @AccountID and strcharid1 is not null )

select @ban2 = authority from userdata where struserid = (select strcharid3 from account_char where straccountid = @AccountID and strcharid1 is not null )



if @ban = 255 or @ban1 = 255 or @ban2 = 255

begin

Set @nRet = 4

RETURN

end



DECLARE @Nation tinyint

SET @Nation = 0

-- tid login method by samma 2004.02.24

DECLARE @pwd varchar(13)



SET @pwd = null



SELECT @pwd = strPasswd FROM TB_USER WHERE strAccountID = @AccountID

IF @pwd IS null

BEGIN

SET @nRet = 0

RETURN

END



ELSE IF @pwd <> @Password

BEGIN

SET @nRet = 0

RETURN

END

delete from premium_service Where nDays = '0'

SELECT @Nation = bNation FROM ACCOUNT_CHAR WHERE strAccountID = @AccountID

IF @@ROWCOUNT = 0

BEGIN

SET @nRet = 1

RETURN

END

BEGIN

SET @nRet = 1

RETURN

END

BEGIN

SET @nRet = @Nation+1

RETURN

END

GO
 
Geri
Üst