Changeset 7011


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

show server field when login fails with unknown host

Location:
n4dgtklogin/trunk/fuentes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • n4dgtklogin/trunk/fuentes/debian/changelog

    r6408 r7011  
     1python-n4dgtklogin (0.4.3) xenial; urgency=medium
     2
     3  * Show server entry, although it has been hidden, when login can't connect to n4d at specified server
     4
     5 -- Juanma Navarro Mañez <juanma1980@gmail.com>  Tue, 13 Mar 2018 14:13:13 +0100
     6
    17python-n4dgtklogin (0.4.2) xenial; urgency=medium
    28
  • 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
  • n4dgtklogin/trunk/fuentes/python3-n4dgtklogin.install/edupals/ui/n4dgtklogin.py

    r6408 r7011  
    315315                        self.sta_info.show()
    316316                        self.lbl_error.show()
     317                        #show server entry if we can't connect to n4d in "server"
     318                        self.txt_server.props.no_show_all=False
     319                        self.txt_server.show()
    317320                elif self.allowed_groups and not set(self.allowed_groups).intersection(ret[1]):
    318321                        #Check user groups
Note: See TracChangeset for help on using the changeset viewer.