Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/x/s/xsbs-HEAD/src/pyscripts/xsbs/server.py   xsbs(Download)
def adminPassword():
	'''Administrator password of server.'''
	return sbserver.adminPassword()
 
def ip():

src/x/s/xsbs-HEAD/src/pyscripts/xsbs/users/privilege.py   xsbs(Download)
def onSetMaster(cn, hash):
	if hash == sbserver.hashPassword(cn, sbserver.adminPassword()):
		sbserver.setAdmin(cn)
 
def onAuthSuccess(cn, name):

src/x/s/xsbs-HEAD/src/pyscripts/xsbs/users/__init__.py   xsbs(Download)
def onSetMaster(cn, givenhash):
	p = player(cn)
	adminhash = sbserver.hashPassword(cn, sbserver.adminPassword())
	try:
		na = dbmanager.query(NickAccount).filter(NickAccount.nick==p.name()).one()