diff --git a/login/ForgotPW.aspx b/login/ForgotPW.aspx index fe97e3a..007e4d8 100644 --- a/login/ForgotPW.aspx +++ b/login/ForgotPW.aspx @@ -1,4 +1,4 @@ -<%@ Page Language="VB" AutoEventWireup="false" CodeFile="ForgotPW.aspx.vb" Inherits="login_ForgotPW" %> +<%@ Page Language="VB" AutoEventWireup="false" Debug="true" CodeFile="ForgotPW.aspx.vb" Inherits="login_ForgotPW" %> <%@ Reference VirtualPath="~/login/ChangePW.aspx" %> diff --git a/login/ForgotPW.aspx.vb b/login/ForgotPW.aspx.vb index dcdc43d..15628f1 100644 --- a/login/ForgotPW.aspx.vb +++ b/login/ForgotPW.aspx.vb @@ -22,7 +22,7 @@ Partial Class login_ForgotPW If valreqtxtEmail.IsValid = True Then email = txtEmail.Text ElseIf valreqtxtEmail.IsValid = False Then - valreqtxtEmail.ErrorMessage = "ANnotation: The given Daomain is not the company domain." + valreqtxtEmail.ErrorMessage = "ANnotation: The given Domain is not the company domain." regexval_txt_Email.Validate() valreqtxtEmail.IsValid = True End If @@ -125,7 +125,7 @@ Partial Class login_ForgotPW mailto = email Betreff = "Passwort reset" htmlbody = String.Format("Sehr geehrte/r {0},

Bitte dem Link zum Zurücksetzen des Passwortes folgen:


.
" + Environment.NewLine + "Link" + Environment.NewLine + "
Mit freundlichen Grüßen
VERAG | EDV Support
support@verag.ag,", username, password) - ElseIf HttpContext.Current.Request.ServerVariables("SERVER_NAME") = Not "localhost" Then + Else getdomianenvironment = HttpContext.Current.Request.ServerVariables("SERVER_NAME") ServPort = String.Empty 'pagename = Request.ServerVariables("SCRIPT_NAME")