ソースを参照

fix in ip address error

version-14
Anand Doshi 13年前
コミット
21aabba167
1個のファイルの変更2行の追加1行の削除
  1. +2
    -1
      py/webnotes/auth.py

+ 2
- 1
py/webnotes/auth.py ファイルの表示

@@ -228,7 +228,8 @@ class LoginManager:
webnotes.form_dict.get('via_ip').startswith(webnotes.defs.server_ip)):
return
webnotes.msgprint('Not allowed from this IP Address', raise_exception=1)
webnotes.msgprint('Not allowed from this IP Address')
raise webnotes.AuthenticationError

def validate_hour(self):
"""


読み込み中…
キャンセル
保存