mirror of
https://github.com/jakobadam/RDSFactor.git
synced 2025-07-23 01:55:54 +02:00
Logo on sms form. Fixes #8
This commit is contained in:
parent
973ef3a63e
commit
36a2f65d84
4 changed files with 2 additions and 8 deletions
|
@ -2,7 +2,7 @@
|
||||||
ADField=telephoneNumber
|
ADField=telephoneNumber
|
||||||
ADMailfield=mail
|
ADMailfield=mail
|
||||||
Debug=1
|
Debug=1
|
||||||
EnableOTP=0
|
EnableOTP=1
|
||||||
EnableSMS=1
|
EnableSMS=1
|
||||||
LDAPDomain=ad.example.com
|
LDAPDomain=ad.example.com
|
||||||
MailServer=
|
MailServer=
|
||||||
|
|
|
@ -13,8 +13,6 @@ Public Class RDSHandler
|
||||||
Private Shared encryptedChallangeResults As New Hashtable
|
Private Shared encryptedChallangeResults As New Hashtable
|
||||||
Private Shared userLaunchTimestamps As New Hashtable
|
Private Shared userLaunchTimestamps As New Hashtable
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Private mPacket As RADIUSPacket
|
Private mPacket As RADIUSPacket
|
||||||
Private mUsername As String
|
Private mUsername As String
|
||||||
Private mPassword As String
|
Private mPassword As String
|
||||||
|
@ -65,7 +63,6 @@ Public Class RDSHandler
|
||||||
Else
|
Else
|
||||||
ProcessAccessRequest()
|
ProcessAccessRequest()
|
||||||
End If
|
End If
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
' Process the RDS specific App Launch request.
|
' Process the RDS specific App Launch request.
|
||||||
|
@ -111,7 +108,6 @@ Public Class RDSHandler
|
||||||
sessionTimestamps.Remove(mUsername)
|
sessionTimestamps.Remove(mUsername)
|
||||||
mPacket.RejectAccessRequest()
|
mPacket.RejectAccessRequest()
|
||||||
End If
|
End If
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Public Shared Function HasValidLaunchWindow(username) As Boolean
|
Public Shared Function HasValidLaunchWindow(username) As Boolean
|
||||||
|
@ -145,9 +141,6 @@ Public Class RDSHandler
|
||||||
' * valid app launch window
|
' * valid app launch window
|
||||||
'
|
'
|
||||||
' The launch window is closed after this request.
|
' The launch window is closed after this request.
|
||||||
'
|
|
||||||
' TODO: Fix race-condition RD Web vs. Gateway. Don't start RDP client in RD Web
|
|
||||||
' before ensuring App Launch request was successful
|
|
||||||
Public Sub ProcessGatewayRequest()
|
Public Sub ProcessGatewayRequest()
|
||||||
RDSFactor.AccessLog(mPacket, "Gateway Request")
|
RDSFactor.AccessLog(mPacket, "Gateway Request")
|
||||||
|
|
||||||
|
|
Binary file not shown.
|
@ -17,6 +17,7 @@ public partial class SMSToken : System.Web.UI.Page
|
||||||
//
|
//
|
||||||
// Localizable Text
|
// Localizable Text
|
||||||
//
|
//
|
||||||
|
public const string L_CompanyName_Text = "Work Resources";
|
||||||
public const string L_SmsToken_Text = "Enter SMS Token:";
|
public const string L_SmsToken_Text = "Enter SMS Token:";
|
||||||
public const string L_LogonFailureLabel_Text = "The user name or password that you entered is not valid. Try typing it again.";
|
public const string L_LogonFailureLabel_Text = "The user name or password that you entered is not valid. Try typing it again.";
|
||||||
public const string L_SubmitLabel_Text = "Submit";
|
public const string L_SubmitLabel_Text = "Submit";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue