kritbit

kritbit Commit Details


Date:2015-11-14 16:21:08 (9 years 1 month ago)
Author:Natalie Adams
Branch:master
Commit:3134e1212a8cfacb6ee122f0a3d69ebcae50a835
Parents: 606279c2ade1b3a47032c587e943d5d310397cbf
Message:Some cleanup

Changes:

File differences

web/application/controllers/login.php
22
33
44
5
65
76
87
......
2221
2322
2423
25
2624
2725
2826
use system\vendor\phpoauthlib2\providers\GoogleAuthProvider;
use system\vendor\phpoauthlib2\OAuth;
use \vendor\DB\DB;
use application\models\Users;
class login extends base {
if ($check === true) {
$email = $authProvider->getEmail();
/** @var Users $user */
//$user = DB::fetchObject("SELECT * FROM users WHERE email = ?", "users", [$email]);
$users = Users::getByField("email", $email);
if (count($users) == 0) {
echo $this->accessDenied();
web/application/tmp/.gitignore
1
1
2
*.php
*.php
h2o*

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.05556s using 14 queries.