Seperierung Login desktop von login mobil da sonst 2fach gehashed wurde, was die Leistung einschränkte.
This commit is contained in:
@@ -401,7 +401,7 @@
|
|||||||
<form id="form1" runat="server">
|
<form id="form1" runat="server">
|
||||||
<!-- Große Bildschirme-->
|
<!-- Große Bildschirme-->
|
||||||
<div class="d-none d-md-block">
|
<div class="d-none d-md-block">
|
||||||
<asp:Login ID = "Login1" runat = "server" OnAuthenticate= "ValidateUser" DisplayRememberMe="true" DestinationPageUrl="../Customers/CustomsAviso.aspx" ValidateRequestMode="Enabled">
|
<asp:Login ID="Login1" runat="server" OnAuthenticate="ValidateUser" DisplayRememberMe="true" LoginButtonStyle-BackColor="#003680" DestinationPageUrl="../Customers/CustomsAviso.aspx" ValidateRequestMode="Enabled">
|
||||||
<LayoutTemplate>
|
<LayoutTemplate>
|
||||||
<center>
|
<center>
|
||||||
<table id="tbl_main" cellpadding="0" style="border:none;">
|
<table id="tbl_main" cellpadding="0" style="border:none;">
|
||||||
@@ -457,7 +457,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<!--Smartphone-Bildschirme-->
|
<!--Smartphone-Bildschirme-->
|
||||||
<div class="d-md-none">
|
<div class="d-md-none">
|
||||||
<asp:Login ID = "Login2" runat = "server" OnAuthenticate= "ValidateUser" DisplayRememberMe="true" DestinationPageUrl="../Customers/CustomsAviso.aspx" ValidateRequestMode="Enabled">
|
<asp:Login ID = "Login2" runat = "server" OnAuthenticate="ValidateUser_M" LoginButtonStyle-BackColor="#003680" DisplayRememberMe="true" DestinationPageUrl="../Customers/CustomsAviso.aspx" ValidateRequestMode="Enabled">
|
||||||
<LayoutTemplate>
|
<LayoutTemplate>
|
||||||
<center>
|
<center>
|
||||||
<table id="tbl_main_M" cellpadding="0" style="margin: 0 auto;border:none">
|
<table id="tbl_main_M" cellpadding="0" style="margin: 0 auto;border:none">
|
||||||
|
|||||||
@@ -366,7 +366,7 @@ Partial Class login_FLEX
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
If String.Equals(tb3_M.Text, dr("Password")) = True Then
|
If String.Equals(tb3_M.Text, dr("Password")) = True Then
|
||||||
intzahl = VERAG_VARIABLES.RandomInteger(VERAG_VARIABLES.RandomInteger(95, 200), Math.Pow(2, 7))
|
intzahl = VERAG_VARIABLES.RandomInteger(VERAG_VARIABLES.RandomInteger(95, 200), Math.Pow(2, 5))
|
||||||
salt = VERAG_VARIABLES.GenerateSalt(intzahl)
|
salt = VERAG_VARIABLES.GenerateSalt(intzahl)
|
||||||
Dim hashpw As Byte() = Await VERAG_VARIABLES.HashPasswordAsync(passw, salt, intzahliterats, intzahl)
|
Dim hashpw As Byte() = Await VERAG_VARIABLES.HashPasswordAsync(passw, salt, intzahliterats, intzahl)
|
||||||
If Await VERAG_VARIABLES.VerifyhashAsync(dr("Password").ToString, salt, hashpw, intzahliterats, intzahl) = True Then
|
If Await VERAG_VARIABLES.VerifyhashAsync(dr("Password").ToString, salt, hashpw, intzahliterats, intzahl) = True Then
|
||||||
|
|||||||
Reference in New Issue
Block a user