mirror of
https://github.com/OpenNebula/one.git
synced 2025-04-01 06:50:25 +03:00
B #5014: Remove user from admins
This commit is contained in:
parent
814fe577c7
commit
8e20605ef2
@ -72,6 +72,13 @@ public:
|
||||
*/
|
||||
int del_user(int id)
|
||||
{
|
||||
if (admins.contains(id))
|
||||
{
|
||||
string error;
|
||||
|
||||
del_admin(id, error);
|
||||
}
|
||||
|
||||
return users.del(id);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user