Ignore:
Timestamp:
Mar 13, 2018, 2:16:24 PM (2 years ago)
Author:
Juanma
Message:

show server field when login fails with unknown host

File:
1 edited

Legend:

Unmodified
Added
Removed
  • n4dgtklogin/trunk/fuentes/python-n4dgtklogin.install/edupals/ui/n4dgtklogin.py

    r6408 r7011  
    307307                                ret=self.n4dclient.validate_user(user,pwd)
    308308                        except socket.error as e:
    309                                 self.lbl_error.set_text(_("Unknown host"))
     309                                self.lbl_error.set_text(_("Unknown host %s"%server))
    310310                                ret=[False,str(e)]
    311311
     
    314314                        self.sta_info.show()
    315315                        self.lbl_error.show()
     316                        #show server entry if we can't connect to n4d in "server"
     317                        self.txt_server.props.no_show_all=False
     318                        self.txt_server.show()
    316319                elif self.allowed_groups and not set(self.allowed_groups).intersection(ret[1]):
    317320                        #Check user groups
Note: See TracChangeset for help on using the changeset viewer.