Commit fcb9c5a7 authored by 李良停's avatar 李良停

llt

parent 4009bb85
...@@ -103,7 +103,7 @@ public class AuthController { ...@@ -103,7 +103,7 @@ public class AuthController {
params.put("redirect_uri", returnUrl); params.put("redirect_uri", returnUrl);
params.put("auth_log_id", authLog.getId()); params.put("auth_log_id", authLog.getId());
params.put("client_id", clientId); params.put("client_id", clientId);
response.sendRedirect(appendUrl("/auth/idp", params)); response.sendRedirect(appendUrl("/auth/index", params));
return null; return null;
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
......
...@@ -298,10 +298,6 @@ public class EncodeUtil { ...@@ -298,10 +298,6 @@ public class EncodeUtil {
return DigestUtils.md5Hex(content); return DigestUtils.md5Hex(content);
} }
public static void main(String[] args) {
System.out.println(md5("jsydClentId$$jsydClientSecret"));
System.out.println(RandomUtils.randomString(12));
}
public static String sha(String content) { public static String sha(String content) {
return DigestUtils.shaHex(content); return DigestUtils.shaHex(content);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment