Rev 1267 | Rev 1372 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1267 | Rev 1305 | ||
---|---|---|---|
Line 123... | Line 123... | ||
123 | OIDplus::db()->query("update ###ra set ra_name = ?, personal_name = ? where email = ?", array($personal_name, $personal_name, $email)); |
123 | OIDplus::db()->query("update ###ra set ra_name = ?, personal_name = ? where email = ?", array($personal_name, $personal_name, $email)); |
124 | 124 | ||
125 | OIDplus::logger()->log("V2:[INFO]RA(%1)", "RA '%1' was created because of successful Google OAuth2 login", $email); |
125 | OIDplus::logger()->log("V2:[INFO]RA(%1)", "RA '%1' was created because of successful Google OAuth2 login", $email); |
126 | } |
126 | } |
127 | 127 | ||
128 | OIDplus::authUtils()->raLoginEx($email, $remember_me=false, 'Google-OAuth2'); |
128 | OIDplus::authUtils()->raLoginEx($email, 'Google-OAuth2'); |
129 | 129 | ||
130 | OIDplus::db()->query("UPDATE ###ra set last_login = ".OIDplus::db()->sqlDate()." where email = ?", array($email)); |
130 | OIDplus::db()->query("UPDATE ###ra set last_login = ".OIDplus::db()->sqlDate()." where email = ?", array($email)); |
131 | 131 | ||
132 | OIDplus::invoke_shutdown(); |
132 | OIDplus::invoke_shutdown(); |
133 | 133 |