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 Key() As Byte = Guid.NewGuid().ToByteArray()
|
||||
Dim token As String
|
||||
If username = Not Nothing And email = Not Nothing Then
|
||||
If username = Not Nothing AndAlso email = Not Nothing Then
|
||||
Try
|
||||
token = Convert.ToBase64String(time.Concat(Key).ToArray())
|
||||
Return token
|
||||
|
||||
Reference in New Issue
Block a user