From bb3c796c25f989b529af0e985faa857689e0b25f Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 24 Jun 2008 18:03:35 -0400 Subject: url for confirmation email is better, fancy url darcs-hash:20080624220335-34904-2c4089bf6d1b37b6f613ce89c6fad104727e7487.gz --- lib/util.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib') diff --git a/lib/util.php b/lib/util.php index 88a71273d..e2c9c67a1 100644 --- a/lib/util.php +++ b/lib/util.php @@ -684,6 +684,10 @@ function common_fancy_url($action, $args=NULL) { return common_path('main/confirmaddress/'.$args['code']); case 'userbyid': return common_path('user/'.$args['id']); + case 'recoverpassword': + return common_path('main/recoverpassword' . + ($args['code']) ? ('/' . $args['code']) : + ''); default: return common_simple_url($action, $args); } -- cgit v1.2.3-54-g00ecf