Revision c8c6d1e8
Von Sven Schöling vor etwa 14 Jahren hinzugefügt
scripts/console | ||
---|---|---|
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";
|
||
}
|
||
|
Auch abrufbar als: Unified diff
Zugriffsrechte auf der Konsole laden.
Normal wird form->{login} beim login implizit gesetzt. Muss hier manuell pasieren.