|
@@ -636,7 +636,7 @@ class Users {
|
636
|
636
|
* @param string $Username The username
|
637
|
637
|
* @param string $Email The email address
|
638
|
638
|
*/
|
639
|
|
- public static function resetPassword($UserID, $Username, $Email) {
|
|
639
|
+ public static function reset_password($UserID, $Username, $Email) {
|
640
|
640
|
$ResetKey = Users::make_secret();
|
641
|
641
|
G::$DB->query("
|
642
|
642
|
UPDATE users_info
|
|
@@ -665,7 +665,7 @@ class Users {
|
665
|
665
|
* @param int $ASN The ASN
|
666
|
666
|
* @param string $Email The email address
|
667
|
667
|
*/
|
668
|
|
- public static function authLocation($UserID, $Username, $ASN, $Email) {
|
|
668
|
+ public static function auth_location($UserID, $Username, $ASN, $Email) {
|
669
|
669
|
$AuthKey = Users::make_secret();
|
670
|
670
|
G::$Cache->cache_value('new_location_'.$AuthKey, array('UserID'=>$UserID, 'ASN'=>$ASN), 3600*2);
|
671
|
671
|
require(SERVER_ROOT . '/classes/templates.class.php');
|