mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Revert "Allow user passwords with ':' characters"
This reverts commit fcb98539ce99109c4af3527415abb680cdb3556b.
This commit is contained in:
parent
cce3ca6935
commit
37618ecf45
@ -117,7 +117,7 @@ class AuthDriver < OpenNebulaDriver
|
||||
authN_path = File.join(@local_scripts_path, protocol)
|
||||
|
||||
command = File.join(authN_path,ACTION[:authN].downcase)
|
||||
command << ' ' << user << ' ' << password << ' ' << secret_attr.join(':')
|
||||
command << ' ' << user << ' ' << password << ' ' << secret_attr.join(' ')
|
||||
|
||||
local_action(command, request_id, ACTION[:authN])
|
||||
end
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include "Group.h"
|
||||
|
||||
|
||||
const string User::INVALID_CHARS = " \t\n\v\f\r";
|
||||
const string User::INVALID_CHARS = " :\t\n\v\f\r";
|
||||
|
||||
/* ************************************************************************** */
|
||||
/* User :: Database Access Functions */
|
||||
|
Loading…
x
Reference in New Issue
Block a user