<div dir="ltr"><div><div><div>Forgive me for being clueless, but can someone tell me how I can have route handler for a URL that matches a token. Such that a user can receive an email that says:<br><br></div>Go here to reset your password <a href="http://myapp.com/resetJiOk49ld9oekdisJkflSS3ed">http://myapp.com/resetJiOk49ld9oekdisJkflSS3ed</a> (where JiOk49ld9oekdisJkflSS3ed is the token ) and then dancer would bring them to the template where they can reset their password.<br><br></div>I can't seem to wrap my mind around how such a thing would work. <br><br>get '/reset/'$token => sub {<br><br></div><div>   template 'pass_reset';<br></div><div><br>}<br><br>post '/reset/'$token => sub { # let user reset password<br>    <br>   my $input_hash = {  <br>       <br>       Pswd => param('password1'),  <br>       PswdConfirm => param('password2'),<br>       <br>   }; <br><br></div><div>template 'pass_reset';<br></div><div><br>};<br><br></div><div>Any help would be greatly appreciated.<br><br></div><div>Thanks<br></div></div>