mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 03:12:55 +09:00
Revert "Allow user passwords with ':' characters"
This reverts commit fcb98539ce.
This commit is contained in:
1 parent
cce3ca6935
commit
37618ecf45
2 files changed
+2
-2
No files matched your search
@@ -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
|
||||
|
||||
+1
-1
@@ -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 */
|
||||
|
||||
Reference in new issue
Block a user