Revision be3db7d1
Von Moritz Bunkus vor mehr als 13 Jahren hinzugefügt
SL/User.pm | ||
---|---|---|
|
||
$self->create_schema_info_table($form, $dbh);
|
||
|
||
my $dbupdater_auth = SL::DBUpgrade2->new(form => $form, dbdriver => 'Pg', auth => 1)->parse_dbupdate_controls;
|
||
if ($dbupdater_auth->unapplied_upgrade_scripts($::auth->dbconnect)) {
|
||
$::lxdebug->leave_sub;
|
||
return -3;
|
||
}
|
||
|
||
$rc = 0;
|
||
|
||
my $dbupdater = SL::DBUpgrade2->new(form => $form, dbdriver => $myconfig{dbdriver})->parse_dbupdate_controls;
|
bin/mozilla/login.pl | ||
---|---|---|
# if we get an error back, bale out
|
||
my $result;
|
||
if (($result = $user->login($form)) <= -1) {
|
||
if ($result == -3) {
|
||
show_error('login/auth_db_needs_update');
|
||
$::auth->destroy_session;
|
||
::end_of_request();
|
||
}
|
||
|
||
::end_of_request() if $result == -2;
|
||
login_screen($::locale->text('Incorrect username or password!'));
|
||
::end_of_request();
|
||
... | ... | |
print $form->parse_html_template($template);
|
||
|
||
# $form->parse_html_template('login/auth_db_unreachable');
|
||
# $form->parse_html_template('login/auth_db_needs_update');
|
||
# $form->parse_html_template('login/authentication_pl_missing');
|
||
|
||
::end_of_request();
|
locale/de/all | ||
---|---|---|
'Lx-Office has found one or more problems in the general ledger.' => 'Lx-Office hat ein oder mehrere Probleme im Hauptbuch gefunden.',
|
||
'Lx-Office is about to update the database [ #1 ].' => 'Lx-Office wird gleich die Datenbank [ #1 ] aktualisieren.',
|
||
'Lx-Office is now able to manage warehouses instead of just tracking the amount of goods in your system.' => 'Lx-Office enthält jetzt auch echte Lagerverwaultung anstatt reiner Mengenzählung.',
|
||
'Lx-Office needs to update the authentication database before you can proceed.' => 'Lx-Office muss die Authentifizierungsdatenbank aktualisieren, bevor Sie fortfahren können.',
|
||
'Lx-Office will then update the database automatically.' => 'Lx-Office wird die Datenbank daraufhin automatisch aktualisieren.',
|
||
'MAILED' => 'Gesendet',
|
||
'MSG_BROWSER_DOES_NOT_SUPPORT_IFRAMES' => 'Ihr Browser kann leider keine eingebetteten Frames anzeigen. Bitte wählen Sie ein anderes Menü in der Benutzerkonfiguration im Administrationsmenü aus.',
|
||
'Main Preferences' => 'Grundeinstellungen',
|
||
... | ... | |
'Please insert your language values below' => 'Bitte die Übersetzungen unten eintragen',
|
||
'Please insert your longdescription below' => 'Bitte den Langtext eingeben',
|
||
'Please install the below listed modules or ask your system administrator to.' => 'Bitte installieren Sie die unten aufgeführten Module, oder bitten Sie Ihren Administrator darum.',
|
||
'Please log in to the administration panel.' => 'Bitte melden Sie sich im Administrationsbereich an.',
|
||
'Please re-run the analysis for broken general ledger entries by clicking this button:' => 'Bitte wiederholen Sie die Analyse der Hauptbucheinträge, indem Sie auf diesen Button klicken:',
|
||
'Please read the file' => 'Bitte lesen Sie die Datei',
|
||
'Please select a customer from the list below.' => 'Bitte einen Endkunden aus der Liste auswählen',
|
templates/webpages/login/auth_db_needs_update.html | ||
---|---|---|
[%- USE LxERP %]
|
||
<body>
|
||
|
||
<p><b>[% LxERP.t8('Error!') %]</b></p>
|
||
|
||
<p>
|
||
[%- LxERP.t8('Lx-Office needs to update the authentication database before you can proceed.') %]
|
||
[%- LxERP.t8('Please log in to the administration panel.') %]
|
||
[%- LxERP.t8('Lx-Office will then update the database automatically.') %]
|
||
</p>
|
||
|
||
<hr>
|
||
<p>
|
||
[% LxERP.t8('For further information read this:') %]
|
||
<a href="doc/INSTALL.html#Benutzerauthentifizierung-und-Administratorpasswort" target="_blank">Lx-Office Installation</a><br>
|
||
[% LxERP.t8('Or download the whole Installation Documentation as PDF (110kB) for off-line study (currently in German Language).') %]
|
||
<a href="doc/Lx-Office_Installation_DE.pdf">Lx-Office_Installation_DE.pdf</a>
|
||
</p>
|
||
|
||
<hr>
|
||
|
||
<p>
|
||
<a href="login.pl" target="_top">[% LxERP.t8('Login') %]</a> |
|
||
<a href="admin.pl" target="_top">[% LxERP.t8('Administration') %]</a>
|
||
</p>
|
||
|
||
</body>
|
||
</html>
|
Auch abrufbar als: Unified diff
Benutzer-Anmeldung verweigern, wenn nicht eingespielte Admin-DB-Upgrades vorhanden sind