This repository was archived by the owner on Jun 21, 2023. It is now read-only.
Commit b6cb68e
committed
Assume enterprise user/pass login available.
If the enterprise server doesn't return a value for `VerifiablePasswordAuthentication`, or the `api/meta` endpoint fails completely then we're on an older version of enterprise. In this case assume username and password login is available as we have no way to tell.
Fixes #14741 parent e948cca commit b6cb68e
File tree
2 files changed
+26
-26
lines changed- src/GitHub.App
- Services
- ViewModels/Dialog
2 files changed
+26
-26
lines changedLines changed: 21 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
39 | 43 | | |
40 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
41 | 49 | | |
42 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
43 | 53 | | |
44 | | - | |
45 | | - | |
| 54 | + | |
46 | 55 | | |
47 | | - | |
48 | | - | |
49 | 56 | | |
50 | 57 | | |
51 | 58 | | |
| |||
56 | 63 | | |
57 | 64 | | |
58 | 65 | | |
59 | | - | |
| 66 | + | |
60 | 67 | | |
61 | 68 | | |
| 69 | + | |
62 | 70 | | |
63 | 71 | | |
64 | 72 | | |
Lines changed: 5 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| 143 | + | |
143 | 144 | | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
| 145 | + | |
148 | 146 | | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
| 147 | + | |
156 | 148 | | |
157 | | - | |
158 | | - | |
| 149 | + | |
| 150 | + | |
159 | 151 | | |
160 | 152 | | |
161 | 153 | | |
| |||
0 commit comments