Advertisement
Guest User

Untitled

a guest
Jun 27th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. <p><a href="@Model.Url" class="button">ACTIVATE MY ACCOUNT</a></p>
  2.  
  3. [Authorize]
  4. public class AccountController : BaseController
  5. {
  6.  
  7. // GET: /Account/ConfirmEmail
  8. [AllowAnonymous]
  9. public async Task<ActionResult> ConfirmEmail(string code, string userId)
  10. {
  11. if (code == null || userId == null)
  12. {
  13. return View("Error");
  14. }
  15.  
  16. // Rest of the code... not relevant to the question
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement