fix: resolve issue with user authentication flow#209
fix: resolve issue with user authentication flow#209rulasg merged 6 commits intoimprove-performance-fieldsfrom
Conversation
| $cases = @( | ||
| @{item = @{Title= "Test"; repositoryName = "rulasg-dev-1"}; expected = "[rulasg-dev-1] Test"} | ||
| @{item = @{Title= "[rulasg-dev-1] Test"; repositoryName = "rulasg-dev-1"}; expected = "[rulasg-dev-1] Test"} | ||
|
|
Check notice
Code scanning / PSScriptAnalyzer
Line has trailing whitespace Note
| @{item = @{Title= "[rulasg-dev-1] Test"; repositoryName = "rulasg-dev-1"}; expected = "[rulasg-dev-1] Test"} | ||
|
|
||
| @{item = @{Title= "[BBVA] Test"; repositoryName = "bBva"}; expected = "[bBva] Test"} | ||
|
|
Check notice
Code scanning / PSScriptAnalyzer
Line has trailing whitespace Note
| @{item = @{Title= "[BBVA] Test"; repositoryName = "bBva"}; expected = "[bBva] Test"} | ||
|
|
||
| @{item = @{Title= "Test [rulasg-dev-1]"; repositoryName = "rulasg-dev-1"}; expected = "Test [rulasg-dev-1]"} | ||
|
|
Check notice
Code scanning / PSScriptAnalyzer
Line has trailing whitespace Note
public/items/edit_project_item.ps1
Outdated
Check notice
Code scanning / PSScriptAnalyzer
Line has trailing whitespace Note
| ) | ||
| $title = $Item.Title | ||
| $header = "[{0}]" -f $Item.RepositoryName | ||
| $repoEscaped = [regex]::Escape($Item.RepositoryName) |
Check notice
Code scanning / PSScriptAnalyzer
Line has trailing whitespace Note
|
|
||
| if($title -imatch "\[$repoEscaped\]" -or $title -imatch "^\s*\[?$repoEscaped\]\s*"){ | ||
| # Ttile contains repo name. Normalize it to proper case and formatting. This will cover the following scenarios: | ||
| $ret = ($title -ireplace "^\s*\[?$repoEscaped\]\s*", "$header ") -ireplace "\[$repoEscaped\]", $header |
Check notice
Code scanning / PSScriptAnalyzer
Line has trailing whitespace Note
…ey for consistency
…void wrong field cache alive
Improve the user authentication flow to address issues with session management and error handling.
Fix session timeout handling.
Improve error messages during login failures.
Refactor authentication middleware for better readability.