Welcome Guest, Not a member yet? Register   Sign In
Ion Auth - Lightweight Auth System based on Redux Auth 2

[eluser]butthead[/eluser]
An interesting project to replace FreakAuth which used to be popular for CI at 1.5.x level Wink

[eluser]sirwan.me[/eluser]
anychance of an Oauth, allow people to login via Facebook, Gmail, Hotmail etc....

[eluser]Davide Bellini[/eluser]
Can I disable User Meta management??

I would create my dynamic meta table like this :

ID | USER_ID | PLUGIN | KEY | VALUE

and associate dynamic fields using records ( example ):

ID | USER_ID | PLUGIN | KEY | VALUE
1 2 info user_firstname Marty
2 2 info user_lastname McFly
3 2 social user_skype 123456
4 3 info user_firstname Bruce
5 3 info user_lastname Wayne
...

[eluser]Andy78[/eluser]
anybody got this working as a module in Modular Extensions - HMVC?

[eluser]Davide Bellini[/eluser]
Andy78,
Yep

[eluser]VicToMeyeZR[/eluser]
The default password in the include HTML pages is not correct.

Any idea what it really is?

Quote:The default login is:

* Email: admin@admin.com
* Password: password

[eluser]techgnome[/eluser]
password ... just like it says. It's worked for me.

-tg

[eluser]VicToMeyeZR[/eluser]
thats interesting, because i just downloaded it and installed it, and it doesn't work. Says invalid password

[eluser]33cent[/eluser]
When i try to change my password (auth/change_password), i get this error:

Code:
A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group, `groups`.`description` AS group_description, `profile`.`first_name`, `pro' at line 1

SELECT `users`.*, `groups`.`name` AS group, `groups`.`description` AS group_description, `profile`.`first_name`, `profile`.`last_name`, `profile`.`company`, `profile`.`phone` FROM (`users`) LEFT JOIN `profile` ON `users`.`id` = `profile`.`user_id` LEFT JOIN `groups` ON `users`.`group_id` = `groups`.`id` WHERE `users`.`id` = '1' LIMIT 1

Filename: C:\xampp\htdocs\studentski\system\database\DB_driver.php

Line Number: 330


My table names are here:
Quote: /**
* Tables.
**/
$config['tables']['groups'] = 'groups';
$config['tables']['users'] = 'users';
$config['tables']['meta'] = 'profile';


I solved this problem with this quick fix:
Code:
// search this function in ion_auth_model.php
public function get_users($group = false)
    {
        $this->db->select(array(
            $this->tables['users'].'.*',
// comment next row
            // $this->tables['groups'].'.name AS group',
// add next row
$this->tables['groups'].'.name AS groups',
            $this->tables['groups'].'.description AS group_description'
        ));


This is a bug or what? :roll:

[eluser]Frank Rocco[/eluser]
Hello,

I need to port the users table to another app.
Is there a way to convert the existing passwords to just md5 or sha1?

Thanks




Theme © iAndrew 2016 - Forum software by © MyBB