projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f89d351
)
Zugriffsrechte auf der Konsole laden.
author
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 3 Jan 2011 15:13:06 +0000
(16:13 +0100)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 3 Jan 2011 15:13:06 +0000
(16:13 +0100)
Normal wird form->{login} beim login implizit gesetzt. Muss hier manuell pasieren.
scripts/console
patch
|
blob
|
history
diff --git
a/scripts/console
b/scripts/console
index
ca20b2b
..
e3129a0
100755
(executable)
--- a/
scripts/console
+++ b/
scripts/console
@@
-78,8
+78,12
@@
sub lxinit {
require "bin/mozilla/common.pl";
die "cannot find user $login" unless %::myconfig = $::auth->read_user($login);
+
+ $::form->{login} = $login; # normaly implicit at login
+
die "cannot find locale for user $login" unless $::locale = Locale->new($::myconfig{countrycode});
+
return "logged in as $login";
}