chat cx have a user name
This commit is contained in:
parent
6eb8a547bd
commit
2f995437b6
17 changed files with 306 additions and 275 deletions
|
|
@ -34,7 +34,9 @@ namespace Yavsc.Controllers
|
|||
|
||||
public async Task<IActionResult> Index(string id)
|
||||
{
|
||||
|
||||
ViewBag.IsFromSecureProx = (Request.Headers.ContainsKey(Constants.SshHeaderKey))? Request.Headers[Constants.SshHeaderKey]=="on" : false ;
|
||||
ViewBag.SecureHomeUrl = "https://"+Request.Headers["X-Forwarded-Host"];
|
||||
ViewBag.SshHeaderKey = Request.Headers[Constants.SshHeaderKey];
|
||||
var uid = User.GetUserId();
|
||||
long [] clicked=null;
|
||||
if (uid==null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue