Commit 4bb63bd5 authored by claes's avatar claes

Cryptaion of password was missing

parent cca1e85a
/* /*
* Proview $Id: xtt_xnav_command.cpp,v 1.36 2008-06-25 07:58:04 claes Exp $ * Proview $Id: xtt_xnav_command.cpp,v 1.37 2008-06-25 12:37:06 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
#include "co_ccm.h" #include "co_ccm.h"
#include "co_time.h" #include "co_time.h"
#include "co_dcli.h" #include "co_dcli.h"
#include "co_user.h"
#include "pwr_baseclasses.h" #include "pwr_baseclasses.h"
#include "pwr_nmpsclasses.h" #include "pwr_nmpsclasses.h"
#include "co_ccm_msg.h" #include "co_ccm_msg.h"
...@@ -583,7 +584,7 @@ static int xnav_login_func( void *client_data, ...@@ -583,7 +584,7 @@ static int xnav_login_func( void *client_data,
cdh_ToLower( arg1_str, arg1_str); cdh_ToLower( arg1_str, arg1_str);
cdh_ToLower( arg2_str, arg2_str); cdh_ToLower( arg2_str, arg2_str);
sts = user_CheckUser( systemgroup, arg1_str, arg2_str, &priv); sts = user_CheckUser( systemgroup, arg1_str, UserList::pwcrypt(arg2_str), &priv);
if ( EVEN(sts)) if ( EVEN(sts))
xnav->message('E',"Login failure"); xnav->message('E',"Login failure");
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment