<?php
/***************************************************************************
- * Copyright (C) 2003-2009 Polytechnique.org *
+ * Copyright (C) 2003-2010 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
protected function doAuth($level)
{
if (S::identified()) { // ok, c'est bon, on n'a rien à faire
- return User::getSilentWithValues(null, array('user_id' => S::i('uid')));
+ return User::getSilentWithValues(null, array('uid' => S::i('uid')));
}
if (!Get::has('auth')) {
return null;
}
Get::kill('auth');
S::set('auth', AUTH_MDP);
- return User::getSilentWithValues(null, array('user_id' => Get::i('uid')));
+ return User::getSilentWithValues(null, array('uid' => Get::i('uid')));
}
protected function startSessionAs($user, $level)