Method | Description | |
---|---|---|
ChangePasswordSuccess ( ) : System.Web.Mvc.ActionResult | ||
ForgotPassword ( ) : System.Web.Mvc.ActionResult |
This allows the non-logged on user to have his password reset and emailed to him.
|
|
ForgotPasswordSuccess ( ) : System.Web.Mvc.ActionResult | ||
Index ( ) : System.Web.Mvc.ActionResult | ||
Register ( ) : System.Web.Mvc.ActionResult | ||
SGAccountController ( ) : System |
Method | Description | |
---|---|---|
BuildMessageBody ( string userName, string password, string filePath ) : string |
This function builds the email message body from the ResetPassword.html file.
|
|
ChangePassword ( ) : System.Web.Mvc.ActionResult | ||
ChangePassword ( SecurityGuard.ViewModels.ChangePasswordViewModel model ) : System.Web.Mvc.ActionResult | ||
ErrorCodeToString ( MembershipCreateStatus createStatus ) : string | ||
ForgotPassword ( SecurityGuard.ViewModels.ForgotPasswordViewModel model ) : System.Web.Mvc.ActionResult | ||
LogOff ( ) : System.Web.Mvc.ActionResult | ||
LogOn ( ) : System.Web.Mvc.ActionResult | ||
LogOn ( SecurityGuard.ViewModels.LogOnViewModel model, string returnUrl ) : System.Web.Mvc.ActionResult | ||
Mail ( string emailTo, string emailFrom, string subject, string body, bool isHtml ) : void |
This method encapsulates the email function.
|
|
Register ( WebDemo.Areas.SecurityGuard.ViewModels model ) : System.Web.Mvc.ActionResult |
public ChangePasswordSuccess ( ) : System.Web.Mvc.ActionResult | ||
return | System.Web.Mvc.ActionResult |
public ForgotPassword ( ) : System.Web.Mvc.ActionResult | ||
return | System.Web.Mvc.ActionResult |
public ForgotPasswordSuccess ( ) : System.Web.Mvc.ActionResult | ||
return | System.Web.Mvc.ActionResult |
public Index ( ) : System.Web.Mvc.ActionResult | ||
return | System.Web.Mvc.ActionResult |
public Register ( ) : System.Web.Mvc.ActionResult | ||
return | System.Web.Mvc.ActionResult |