diff --git a/modules/user/user.module b/modules/user/user.module
index 3b572a3af9024904166573f39286171666b160f2..ecc72747da6f3d7d2203835753671793140d5e9a 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -1452,6 +1452,16 @@ function user_external_login_register($name, $module) {
   }
 }
 
+/**
+ * Generates a unique URL for a user to login and reset their password.
+ *
+ * @param object $account
+ *   An object containing the user account.
+ *
+ * @return
+ *   A unique URL that provides a one-time log in for the user, from which
+ *   they can change their password.
+ */
 function user_pass_reset_url($account) {
   $timestamp = time();
   return url("user/reset/$account->uid/$timestamp/". user_pass_rehash($account->pass, $timestamp, $account->login), array('absolute' => TRUE));