mirror of
https://gitlab.com/t6353/sharee.bike.git
synced 2025-05-13 15:16:38 +02:00
Adding cms_alert option
This commit is contained in:
parent
cc82e0856a
commit
b7e6c91efd
13 changed files with 106 additions and 54 deletions
|
@ -14,6 +14,7 @@ use POSIX;
|
|||
use CGI; # only for debugging
|
||||
use JSON;
|
||||
use Digest::MD5 qw(md5 md5_hex);
|
||||
use Digest::SHA qw(sha256_base64);
|
||||
use Scalar::Util qw(looks_like_number);
|
||||
use DateTime;
|
||||
use DateTime::Format::Pg;
|
||||
|
@ -3059,7 +3060,9 @@ sub authorization(){
|
|||
my $pass_name = $q->escapeHTML($user_pw);
|
||||
$pass_name =~ s/\s//g;
|
||||
my $pwmd5=md5_hex($pass_name);
|
||||
my $pwsha256=sha256_base64($pass_name);
|
||||
$authref->{txt11} = "$pwmd5";
|
||||
#$authref->{txt04} = "$pwsha256";#enable after migration
|
||||
|
||||
#Servicetool, only users with users.int09=1
|
||||
#shareetool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue