Commit 533eb3c8 authored by claes's avatar claes

Username and password was switched in insert_login_info call

parent e69e47d7
/* /*
* Proview $Id: wb_gtk.cpp,v 1.8 2008-06-24 07:43:52 claes Exp $ * Proview $Id: wb_gtk.cpp,v 1.9 2008-10-09 08:35:36 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
...@@ -227,7 +227,7 @@ WbGtk::WbGtk( int argc, char *argv[]) ...@@ -227,7 +227,7 @@ WbGtk::WbGtk( int argc, char *argv[])
sts = utl_get_systemname( systemname, systemgroup); sts = utl_get_systemname( systemname, systemgroup);
if ( EVEN(sts)) { if ( EVEN(sts)) {
/* No system object, login as system !! */ /* No system object, login as system !! */
CoLogin::insert_login_info( "SYSTEM", username, password, pwr_mAccess_AllPwr, 0); CoLogin::insert_login_info( "SYSTEM", password, username, pwr_mAccess_AllPwr, 0);
nav_display = 1; nav_display = 1;
} }
else { else {
......
/* /*
* Proview $Id: wb_motif.cpp,v 1.5 2008-06-25 12:33:10 claes Exp $ * Proview $Id: wb_motif.cpp,v 1.6 2008-10-09 08:35:36 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
...@@ -260,7 +260,7 @@ WbMotif::WbMotif( int argc, char *argv[]) ...@@ -260,7 +260,7 @@ WbMotif::WbMotif( int argc, char *argv[])
sts = utl_get_systemname( systemname, systemgroup); sts = utl_get_systemname( systemname, systemgroup);
if ( EVEN(sts)) { if ( EVEN(sts)) {
/* No system object, login as system !! */ /* No system object, login as system !! */
CoLogin::insert_login_info( "SYSTEM", username, password, pwr_mAccess_AllPwr, 0); CoLogin::insert_login_info( "SYSTEM", password, username, pwr_mAccess_AllPwr, 0);
nav_display = 1; nav_display = 1;
} }
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