1
得到这个错误 - 在73行播放验证错误
In {module:secure}/app/controllers/Secure.java (around line 73)
69:
// Check tokens
70:
Boolean allowed = false;
71:
try {
72:
// This is the deprecated method name
73:
**allowed = (Boolean)Security.invoke("authenticate", username, password);**
74:
// allowed = true;
75:
} catch (UnsupportedOperationException e) {
76:
// This is the official method name
77:
allowed = (Boolean)Security.invoke("authenticate", username, password);
78:
}
79:
if(validation.hasErrors() || !allowed) {
我试图debugg应用程序,但无法找到该error.[![enter image description here][1]][1]
正当理由请告诉我该认证在游戏框架,以便如何发生的我可以调试。我不明白代码流。
我有点困惑。你真的在第73行的开头有'**',并且你的错误真的叫做'错误。[![enter image description here] [1]] [1]'? – Kris
不,我没有这样的东西,,,,我只是想大胆它突出它作为错误....在开始时,忽略 – shrish
,有“验证”作为参数在行号73,我改变它“验证”,看看它是否真的有效。但它didn – shrish