Comments (3)
You have to pass the group_id to update_user().
from codeigniter-ion-auth.
ah ha, that's what I thought, but didn't think it made much sense, as i doubt someone is going to know their group's primary key, I think I might change it so it will accept the group name in 'group_name' to make it consistent so that the same field you get when you 'get' a user is the same field you use to 'update' a user.
...you still haven't got a todo list together for IO2... ;)
from codeigniter-ion-auth.
Yea you're right. If you modify it to accept 'group' as the group name and then do the query for id (like we do in the register() method) I'll be glad to merge in a pull request.
Yea yea I know I need to get the todo together, just been slammed. Feel free to email me some ideas if you have them. My main concern is getting the ACL tight and then simplifying the syntax. For example, instead of having a bunch of methods like newest_users,active_users,inactive_users,etc I'm adding the where and limit methods so you can query what you need and then we can get rid of all the crap methods.
from codeigniter-ion-auth.
Related Issues (20)
- Help me, how to call auth controller HOT 3
- install with composer problem HOT 1
- .
- Security Issue: Potential timing attack when using '===' to compare password hashes HOT 1
- The number of logged in users or even the list of logged in HOT 1
- Problems with autentification HOT 1
- Feature suggestion remember me
- Issue when using remember password and password need to be rehash, remember_code = null and cookie remember_code fail to match HOT 1
- Description of getUsersGroups() method is incorrect HOT 2
- reset password not working properly on function forgotten_password_check($code) and email send HOT 17
- ionAuth as CI4 service? (question) HOT 2
- Error when called from phpunit HOT 9
- Users can still log in using "Remember Me" cookies when the feature was disabled HOT 1
- Automatically Login user after successful registration in Codeigniter-3 | Ion_auth HOT 1
- Force user change password HOT 2
- Different behavior of session handle in local versus remote server HOT 3
- Unable to send e-mail HOT 3
- IonAuth - Codeigniter 4 - not working in php 8.2 HOT 4
- Unable to rehashed the Password HOT 2
- No 3.x releases - why? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codeigniter-ion-auth.