14 lines
635 B
C#
14 lines
635 B
C#
using System; using System.Web.UI; using SIG.Web.AppCode.Configuration;
|
|
namespace SIG.Web.Pages.Security
|
|
{
|
|
public partial class VerificarCorreo : Page
|
|
{
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
if (IsPostBack) return; var result = AppServices.PublicRegistrationService.Verify(Request.QueryString["token"], Request.Url.Host);
|
|
LitTitle.Text = result.Success ? "Correo verificado" : "No fue posible verificar";
|
|
LitMessage.Text = Server.HtmlEncode(result.Success ? "Tu cuenta ya está activa. Ahora puedes iniciar sesión." : result.UserMessage);
|
|
}
|
|
}
|
|
}
|