summaryrefslogtreecommitdiff
path: root/inc/auth.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2012-03-16 12:09:30 +0100
committerAndreas Gohr <andi@splitbrain.org>2012-03-16 12:09:30 +0100
commit63703ba5bd81f50c43bc45f8bf79c514afa3ee49 (patch)
treebbfa7eef5fa5bdd6adc4438d2eb33679145d0c89 /inc/auth.php
parentd086370fa9b2f3cfa66d4584ed76314e216df899 (diff)
downloadrpg-63703ba5bd81f50c43bc45f8bf79c514afa3ee49.tar.gz
rpg-63703ba5bd81f50c43bc45f8bf79c514afa3ee49.tar.bz2
coding style updates
Diffstat (limited to 'inc/auth.php')
-rw-r--r--inc/auth.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/inc/auth.php b/inc/auth.php
index 78d98a99e..cd0f612aa 100644
--- a/inc/auth.php
+++ b/inc/auth.php
@@ -677,7 +677,7 @@ function auth_sendPassword($user,$password){
if(empty($conf['mailprefix'])) {
$subject = $lang['regpwmail'];
- } else {
+ } else {
$subject = '['.$conf['mailprefix'].'] '.$lang['regpwmail'];
}
@@ -883,7 +883,6 @@ function act_resendpwd(){
return false;
}
-
if(!$conf['autopasswd']){ // we let the user choose a password
// password given correctly?
if(!isset($_REQUEST['pass']) || $_REQUEST['pass'] == '') return false;
@@ -950,10 +949,10 @@ function act_resendpwd(){
if(empty($conf['mailprefix'])) {
$subject = $lang['regpwmail'];
- } else {
+ } else {
$subject = '['.$conf['mailprefix'].'] '.$lang['regpwmail'];
}
-
+
if(mail_send($userinfo['name'].' <'.$userinfo['mail'].'>',
$subject,
$text,