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