Ergänzung zu Commit Nr: e4fe73a8
This commit is contained in:
@@ -148,7 +148,7 @@ Partial Class login_ForgotPW
|
|||||||
Dim time() As Byte = BitConverter.GetBytes(DateTime.UtcNow.ToBinary())
|
Dim time() As Byte = BitConverter.GetBytes(DateTime.UtcNow.ToBinary())
|
||||||
Dim Key() As Byte = Guid.NewGuid().ToByteArray()
|
Dim Key() As Byte = Guid.NewGuid().ToByteArray()
|
||||||
Dim token As String
|
Dim token As String
|
||||||
If username = Not Nothing And email = Not Nothing Then
|
If username = Not Nothing AndAlso email = Not Nothing Then
|
||||||
Try
|
Try
|
||||||
token = Convert.ToBase64String(time.Concat(Key).ToArray())
|
token = Convert.ToBase64String(time.Concat(Key).ToArray())
|
||||||
Return token
|
Return token
|
||||||
|
|||||||
Reference in New Issue
Block a user